package cn.bookCity.dao;

import java.sql.SQLException;
import java.util.List;

import cn.bookCity.domain.User;



public interface UserDao {
	
	public void regist(User user) ;
	
	public User selectUserByCode(String code);
	
	public void UpdateUserByUser(User user);

	public User selectUserByNP(String username,String password);
    
	public User selectUserByEamil(String email);
	
	public User selectUserName(String name);

	public List<User> get();

	public void del(String uid);
	
	
}
